package cn.iocoder.springboot.lab03.kafkademo.constant;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2023/12/30 17:16
 */
public class Constants {


    public static final String ENCODE = "UTF-8";
    
    public static class Auth {

        public static final String NACOS_CORE_AUTH_ENABLED = "nacos.core.auth.enabled";

        public static final String NACOS_CORE_AUTH_SYSTEM_TYPE = "nacos.core.auth.system.type";

        public static final String NACOS_CORE_AUTH_CACHING_ENABLED = "nacos.core.auth.caching.enabled";

        public static final String NACOS_CORE_AUTH_SERVER_IDENTITY_KEY = "nacos.core.auth.server.identity.key";

        public static final String NACOS_CORE_AUTH_SERVER_IDENTITY_VALUE = "nacos.core.auth.server.identity.value";

        public static final String NACOS_CORE_AUTH_ENABLE_USER_AGENT_AUTH_WHITE = "nacos.core.auth.enable" +
                ".userAgentAuthWhite";
    }

    public static class Resource {

        public static final String SPLITTER = ":";

        public static final String ANY = "*";
    }

    public static class Identity {

        public static final String IDENTITY_ID = "identity_id";

        public static final String X_REAL_IP = "X-Real-IP";

        public static final String REMOTE_IP = "remote_ip";
    }
}
